package com.glsc.ngateway.common.api.flowable.resp;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

public class ResponseMsgDto implements Serializable {

    private static final long serialVersionUID = 9006365861692046318L;

    public ResponseMsgDto() {
    }

    public ResponseMsgDto(String msg) {
        this.msg = msg;
    }

    public ResponseMsgDto(String msg, List<String> callbackRemindUserList, List<String> callbackRemindTaskList) {
        this.msg = msg;
        this.callbackRemindUserList = callbackRemindUserList;
        this.callbackRemindTaskList = callbackRemindTaskList;
    }

    @ApiModelProperty(value = "返回信息")
    private String msg;

    @ApiModelProperty(value = "流程结束标志 dotask后返回 boolean")
    private boolean processEndFlag;

    @ApiModelProperty(value = "回退操作需通知用户列表")
    private List<String> callbackRemindUserList;

    @ApiModelProperty(value = "回退操需通知任务列表")
    private List<String> callbackRemindTaskList;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean getProcessEndFlag() {
        return processEndFlag;
    }

    public void setProcessEndFlag(boolean processEndFlag) {
        this.processEndFlag = processEndFlag;
    }

    public List<String> getCallbackRemindUserList() {
        return callbackRemindUserList;
    }

    public void setCallbackRemindUserList(List<String> callbackRemindUserList) {
        this.callbackRemindUserList = callbackRemindUserList;
    }

    public List<String> getCallbackRemindTaskList() {
        return callbackRemindTaskList;
    }

    public void setCallbackRemindTaskList(List<String> callbackRemindTaskList) {
        this.callbackRemindTaskList = callbackRemindTaskList;
    }

    @Override
    public String toString() {
        return "ResponseMsgDto{" +
                "msg='" + msg + '\'' +
                ", processEndFlag=" + processEndFlag +
                ", callbackRemindUserList=" + callbackRemindUserList +
                ", callbackRemindTaskList=" + callbackRemindTaskList +
                '}';
    }
}
